package com.MRYIN.service;

import com.MRYIN.pojo.Payments;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: SHYC_03
 * @description: 款项业务层
 * @author: Mr.YIN
 * @create: 2021-02-25 13:42
 **/
public interface PaymentsService {
    int insertPayment(Payments payments);

    List<Payments> queryAllPayments();

    /**
     *  通过该项目号所有的
     * @param PAY_PRJCODE
     * @return
     */
    List<Payments> queryAllPaymentsByPAY_PRJCODE(String PAY_PRJCODE);

    List<Payments> queryAllPaymentsByPAY_NAME(String PAY_NAME);

    List<Payments> queryAllPaymentsByPAY_CODEOrPAY_PRJCODE(String PAY_CODE, String PAY_PRJCODE);
}
